package com.UnionPayCenter.mapper;

import com.UnionPayCenter.base.MyMapper;
import com.UnionPayCenter.entity.UserEntity;
import com.UnionPayCenter.entity.UserIntegralDetailEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserIntegralDetailMapper extends MyMapper<UserIntegralDetailEntity> {

    List<UserIntegralDetailEntity> selectListByUser(@Param("userId") Integer userId, @Param("startTime") String startTime, @Param("endTime") String endTime);
}
